// 商品相关接口
import http from "../common/http.js"

export default {
	//获取首页自定义数据
	getIndex: (data,needLoading) => {
		return http.GET('/diy/index', data,needLoading) 
	},
	//获取首页购买数据
	getBuyData: (data,needLoading) => {
		return http.GET('/default/buy-data', data,needLoading) 
	},
}